package cn.aitrox.ry.service.auth.service.impl;

import cn.aitrox.ry.service.auth.dao.AuthUserRoleDao;
import cn.aitrox.ry.service.auth.entity.AuthResourceEntity;
import cn.aitrox.ry.service.auth.service.AuthUserResourceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AuthUserResourceServiceImpl implements AuthUserResourceService {

    @Autowired
    private AuthUserRoleDao userRoleDao;

    @Override
    public List<AuthResourceEntity> list(Integer userId) {
        List<AuthResourceEntity> resourceList = userRoleDao.findResoureByUserId(userId);

        return null;
    }
}
